package com.wei.jvm;

/**
 * @Author :sunwei
 * @Description:
 * @Date create in 21:54  2021/3/22
 * @Modified by:
 */
public class LocalVariablesTest {

    public static void main(String[] args) {
        StackTest test = new StackTest();
        double i =20.00;
        double plus = test.plus(i, 50.10);
        try {
            Thread.sleep(30*1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    public LocalVariablesTest() {
        int i;
        System.out.println("init");
    }

    public String test(String str){
        return new StringBuilder(str).append(str.length()).toString();
    }
}
